package com.jrmf.redenvelopes.order.job;

import com.jrmf.redenvelopes.order.util.DateUtil;

import java.util.Date;
import java.util.concurrent.Callable;

public class DepositDataETLThreads  implements Callable<String> {
    private  int i;

    public DepositDataETLThreads(int i) {
        this.i = i;
    }

    @Override
    public String call() throws Exception {
        String r =DateUtil.dateToStr(new Date(),"yyyy-MM-dd HH:mm:ss");
        //System.out.println(i+"-"+r);
        return i+r;
    }
}
